package com.nf.service;

import com.nf.entity.Card;

import java.util.List;

public interface CardService {
    //登录
    public Card login(String cardId, String password);

    //获取所有卡号信息
    public List<Card> getAllCardInfo();

    //查询余额
    public Float queryBanlanceBycardId(String cardId);

    //存钱
    public boolean saveMoney(Float money,String recordId);

    //取钱
    public boolean getMoney(Float money,String recordId);

}
